﻿@model Aga.GestionDeArchivos.Web.Models.Clientes.EditModel
@{
    ViewBag.Title = "Editar Clientes";
    Layout = "~/Views/Shared/_InternalLayout.cshtml";
}
<div id="content">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="box-style1">
        <tr>
            <td id="box2">
                <h2>
                    Editar Cliente</h2>
                @using (Html.BeginForm())
                {
                    @Html.ValidationSummary(true)
            
                    @Html.HiddenFor(model => model.Id)
    
                    <p>
                        @Html.HiddenFor(model => model.Tipo)
                        @*@Html.LabelFor(model => model.Tipo)
                        <br />
                        @Html.RadioButton("Tipo", 0, true) Despachos&nbsp;
                        @Html.RadioButton("Tipo", 1, false) Otros
                        <br />*@

                        @Html.LabelFor(model => model.Nombre):
                        <br />
                        @Html.EditorFor(model => model.Nombre)
                        @Html.ValidationMessageFor(model => model.Nombre)
                        <br />
                        @Html.LabelFor(model => model.Cuit):
                        <br />
                        @Html.TextBoxFor(model => model.Cuit)
                        @Html.ValidationMessageFor(model => model.Cuit)
                        <br />
                        @Html.LabelFor(model => model.Direccion):
                        <br />
                        @Html.TextBoxFor(model => model.Direccion)
                        @Html.ValidationMessageFor(model => model.Direccion)
                        <br />
                        @Html.LabelFor(model => model.Localidad):
                        <br />
                        @Html.TextBoxFor(model => model.Localidad)
                        @Html.ValidationMessageFor(model => model.Localidad)
                        <br />
                        @Html.LabelFor(model => model.CodigoPostal):
                        <br />
                        @Html.TextBoxFor(model => model.CodigoPostal)
                        @Html.ValidationMessageFor(model => model.CodigoPostal)
                        <br />
                        @Html.LabelFor(model => model.Provincia):
                        <br />
                        @Html.TextBoxFor(model => model.Provincia)
                        @Html.ValidationMessageFor(model => model.Provincia)
                        <br />
                        @Html.LabelFor(model => model.Telefonos):
                        <br />
                        @Html.TextBoxFor(model => model.Telefonos)
                        @Html.ValidationMessageFor(model => model.Telefonos)
                        <br />
                        @Html.LabelFor(model => model.Fax):
                        <br />
                        @Html.TextBoxFor(model => model.Fax)
                        @Html.ValidationMessageFor(model => model.Fax)
                        <br />
                        @Html.LabelFor(model => model.Email):
                        <br />
                        @Html.TextBoxFor(model => model.Email)
                        @Html.ValidationMessageFor(model => model.Email)
                        <br />
                        @Html.LabelFor(model => model.Web):
                        <br />
                        @Html.TextBoxFor(model => model.Web)
                        @Html.ValidationMessageFor(model => model.Web)
                        <br />
                        @Html.LabelFor(model => model.Responsable):
                        <br />
                        @Html.TextBoxFor(model => model.Responsable)
                        @Html.ValidationMessageFor(model => model.Responsable)
                        <br />
                        @Html.LabelFor(model => model.EmailResponsable):
                        <br />
                        @Html.TextBoxFor(model => model.EmailResponsable)
                        @Html.ValidationMessageFor(model => model.EmailResponsable)
                        <br />
                        @Html.LabelFor(model => model.Observaciones):
                        <br />
                        @Html.TextAreaFor(model => model.Observaciones)
                        @Html.ValidationMessageFor(model => model.Observaciones)
                    </p>
                    <p class="buttons alignleft">
                        @Html.ActionLink("Cancelar", "Index")
                        <input type="submit" value="Guardar Cambios" />
                    </p>
                }
            </td>
        </tr>
    </table>
</div>
